home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / varia / silo.lha / silo / Event.c < prev    next >
C/C++ Source or Header  |  1993-08-08  |  244b  |  13 lines

  1. /* $Author: ecsv38 $ $Date: 90/08/21 14:45:53 $ $Revision: 1.1 $ */
  2. /* (c) S. Manoharan  sam@lfcs.edinburgh.ac.uk */
  3.  
  4. #include "Event.h"
  5.  
  6. Event::Event(const int ev_type)
  7. {
  8.    static int e_id = 0;
  9.  
  10.    event_type = ev_type; event_id = e_id++;
  11. }
  12.  
  13.